home *** CD-ROM | disk | FTP | other *** search
/ Experimental BBS Explossion 3 / Experimental BBS Explossion III.iso / c / pcw.zip / TCPCW.BAT < prev    next >
DOS Batch File  |  1993-09-02  |  1KB  |  29 lines

  1. :***************************************************************
  2. :* File Id.                     TCPCW.BAT                      *
  3. :* Author.                      Stan Milam.                    *
  4. :* Date Written.                15 Oct 90.                     *
  5. :*                                                             *
  6. :*              (c) Copyright 1990 by Stan Milam.              *
  7. :*                                                             *
  8. :* Used to compile with Turbo/Borland C/C++.                   *
  9. :* This batch file is invoked from another batch file that     *
  10. :* passes the memory model parameter to use to compile the     *
  11. :* PC Windows library.                                         *
  12. :*                                                             *
  13. :***************************************************************
  14. :*
  15. @Echo Off
  16. if exist ..\tcpcw%1\model goto model
  17. md ..\tcpcw%1
  18. echo tcpcw%1 >..\tcpcw%1\model
  19. :model
  20. copy ms*.obj ..\tcpcw%1 >nul
  21. cd..\tcpcw%1
  22. \bc\bin\make -Dmodel=%1 -f..\pcw\tcpcw.mak >compile.log
  23. if errorlevel 1 goto error
  24. if errorlevel 0 goto end
  25. :error
  26. echo *** error building library ***
  27. :end
  28. cd ..\pcw
  29.